@import '../../publicstyle/publicstyle.scss';

.buycoffee {
    .topbox {
        position: sticky;
        margin: 0 auto;
        width: 639rpx;

        .addressbtn {
            font-size: 26rpx;
            width: 299rpx;
            height: 57rpx;
            background: #274367;
            border-radius: 30rpx;
            color: #8BBEFF;
            margin-top: 41rpx;
            display: flex;
            align-items: center;
            justify-content: space-evenly;
            line-height: 57rpx;

            .addressname {
                text-align: center;
                width: 200rpx;
                overflow: hidden;
                white-space: nowrap;


            }
        }

        .step_container {
            margin: 0 auto;
            width: 100%;
            margin-top: 32rpx;
            display: flex;
            align-items: center;
            color: #325684;
            font-size: 30rpx;
            justify-content: space-between;

            :nth-child(5) {
                color: #8BBEFF;
            }

            image {
                width: 117rpx;
                height: 3rpx;
            }

        }

    }

    .goods_container {
        width: 100%;
        height: 70vh;
        margin-top: 29rpx;
        display: flex;


        .leftbtn {
            width: 200rpx;
            height: 100%;
            background: #000C1B;

            .btnitem {
                font-weight: 600;
                width: 200rpx;
                height: 100rpx;
                color: #4776B2;
                border-bottom: 1px solid #153259;
            }

            .clickbtn {
                @extend .btnitem;
                background: #4776B2;
                color: #0F2542;

            }

        }

        .rightbox {
            flex: 1;
            background: #0F2542;
            overflow-y: scroll;

            .goodsitem {
                height: 202rpx;
                border-bottom: 1px solid #274367;
                display: flex;
                align-items: center;
                padding: 0 32rpx;

                .leftimage {
                    image {
                        width: 140rpx;
                        height: 140rpx;
                        background: #4776B2;
                        border-radius: 10rpx;
                    }
                }

                .righttitle {
                    display: flex;
                    flex-direction: column;
                    height: 100%;
                    justify-content: space-evenly;
                    margin-left: 26rpx;

                    .bottombox {
                        display: flex;
                        align-items: center;
                        width: 320rpx;
                        justify-content: space-between;


                        :nth-child(1) {
                            font-size: 24rpx;
                            color: #4776B2;
                        }

                        :nth-child(2) {
                            width: 110rpx;
                            height: 46rpx;
                            background: #4776B2;
                            border-radius: 23rpx;
                            color: #BAD8FE;
                            font-size: 24rpx;
                        }
                    }
                }
            }
        }
    }



    .car_container {
        padding: 0 50rpx;
        height: 176rpx;
        background: #fff;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        display: flex;
        align-items: center;
        justify-content: space-around;

        .numbercup {
            position: relative;

            .iconcup {
                width: 89rpx;
                height: 89rpx;
            }

            .number {
                position: absolute;
                right: 0;
                top: 0;
                width: 29rpx;
                height: 30rpx;
                background: #FF3716;
                border-radius: 50%;
                font-size: 22rpx;

            }
        }


        .pricebox {
            color: #000000;
            font-size: 28rpx;

            .pricetitle {
                color: #FF3716;
                font-size: 36rpx;

                .oldprice {
                    font-size: 22rpx;
                    text-decoration: line-through;
                    color: #999999;
                }
            }
        }

        .jiesuan {
            width: 164rpx;
            height: 80rpx;
            background: #FF4B4B;
            border-radius: 10rpx;
            font-size: 36rpx;
            margin-left: 50rpx;

        }

        .car {
            color: #FF7744;
            font-size: 24rpx;
            display: flex;
            flex-direction: column;
            align-items: center;

            .iconcar {
                width: 49rpx;
                height: 48rpx;
            }
        }
    }
}